package com.wade.domain;

import java.io.Serializable;

import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Name;

/**
 * 
 * @company: hua9group
 * @author wdChen
 * @date:2017年6月22日 下午2:10:38
 * @Description:
 */
public class Student implements Serializable {

  /**
   * 
   */
  private static final long serialVersionUID = 1L;
  
  @Id
  private Long stuId;
  
  @Name
  private Long classId;
  
  @Name
  private String stuName;
  
  @Name
  private Integer stuAge;

  /**
   * 获取stuId
   * @return stuId stuId
   */
  public Long getStuId() {
    return this.stuId;
  }

  /**
   * 设置stuId
   * @param stuId stuId
   */
  public void setStuId(Long stuId) {
    this.stuId = stuId;
  }

  /**
   * 获取classId
   * @return classId classId
   */
  public Long getClassId() {
    return this.classId;
  }

  /**
   * 设置classId
   * @param classId classId
   */
  public void setClassId(Long classId) {
    this.classId = classId;
  }

  /**
   * 获取stuName
   * @return stuName stuName
   */
  public String getStuName() {
    return this.stuName;
  }

  /**
   * 设置stuName
   * @param stuName stuName
   */
  public void setStuName(String stuName) {
    this.stuName = stuName;
  }

  /**
   * 获取stuAge
   * @return stuAge stuAge
   */
  public Integer getStuAge() {
    return this.stuAge;
  }

  /**
   * 设置stuAge
   * @param stuAge stuAge
   */
  public void setStuAge(Integer stuAge) {
    this.stuAge = stuAge;
  }

  /* (non-Javadoc)
   * @see java.lang.Object#toString()
   */
  @Override
  public String toString() {
    return "Student [stuId=" + stuId + ", classId=" + classId + ", stuName=" + stuName + ", stuAge="
        + stuAge + "]";
  }
  
}

